gdkwindow: Apply the 0x0 size bump to 1x1 before checking for the bail
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 3 Jul 2014 15:48:24 +0000 (11:48 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 3 Jul 2014 15:51:54 +0000 (11:51 -0400)
commitec140a8f07e7b494c3354ee4f1015b6531949098
tree88b808a953a428be8eed7dff8ab6db3a71efcfac
parented273e7518d0ed079dd736b762d83666645fdd9a
gdkwindow: Apply the 0x0 size bump to 1x1 before checking for the bail

Otherwise, a user that calls gdk_window_resize (window, 0, 0); over and
over won't properly fizzle out, and will queue a redraw. Clipped, but
still. These redraws can be chatty on some platforms like Wayland, and
there's no good reason to not avoid them.

This was the case for resize grips.
gdk/gdkwindow.c